//
//  MessageCell.m
//  MyLearnJob
//
//  Created by qianfeng on 15-6-29.
//  Copyright (c) 2015年 朱共营. All rights reserved.
//

#import "MessageCell.h"
#import "UIImageView+WebCache.h"
@implementation MessageCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)showDataWithModel:(MessageMode *)model{
    self.course_nameLable.text=model.course_name;
    self.course_desLable.text=model.course_des;
    self.nickNameLable.text=model.nickname;
    self.aboutmeLable.text=model.aboutme;
    
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:model.pic] placeholderImage:[UIImage imageNamed: @"loading"]];
    self.picImageView.layer.masksToBounds=YES;
    self.picImageView.layer.cornerRadius=26;

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
